package com.HZNU.server.Mapper;


import com.HZNU.server.POJO.Role;
import com.HZNU.server.POJO.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserMapper {
    User loadUserByUsername(String username);
    List<Role> getUserRolesByUid(Integer id);
}
